package com.bj58.mis.apm.server.kylinreceive.model;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name="kylin_job")
public class KylinJob implements Serializable {

  @Id
  private String id;
  private Date lastModified;
  private String version;
  private String name;
  private String type;
  private Long duration;
  private String cubeId;
  private String segmentId;
  private Date execStartTime;
  private Date execEndTime;
  private Long execInterruptTime;
  private Long mrWaiting;
  private String submitter;
  private String jobStatus;
  private Long progress;

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public Date getLastModified() {
    return lastModified;
  }

  public void setLastModified(Date lastModified) {
    this.lastModified = lastModified;
  }

  public String getVersion() {
    return version;
  }

  public void setVersion(String version) {
    this.version = version;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public Long getDuration() {
    return duration;
  }

  public void setDuration(Long duration) {
    this.duration = duration;
  }

  public String getCubeId() {
    return cubeId;
  }

  public void setCubeId(String cubeId) {
    this.cubeId = cubeId;
  }

  public String getSegmentId() {
    return segmentId;
  }

  public void setSegmentId(String segmentId) {
    this.segmentId = segmentId;
  }

  public Date getExecStartTime() {
    return execStartTime;
  }

  public void setExecStartTime(Date execStartTime) {
    this.execStartTime = execStartTime;
  }

  public Date getExecEndTime() {
    return execEndTime;
  }

  public void setExecEndTime(Date execEndTime) {
    this.execEndTime = execEndTime;
  }

  public Long getExecInterruptTime() {
    return execInterruptTime;
  }

  public void setExecInterruptTime(Long execInterruptTime) {
    this.execInterruptTime = execInterruptTime;
  }

  public Long getMrWaiting() {
    return mrWaiting;
  }

  public void setMrWaiting(Long mrWaiting) {
    this.mrWaiting = mrWaiting;
  }

  public String getSubmitter() {
    return submitter;
  }

  public void setSubmitter(String submitter) {
    this.submitter = submitter;
  }

  public String getJobStatus() {
    return jobStatus;
  }

  public void setJobStatus(String jobStatus) {
    this.jobStatus = jobStatus;
  }

  public Long getProgress() {
    return progress;
  }

  public void setProgress(Long progress) {
    this.progress = progress;
  }
}
